﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page
{
    /// <summary>
    /// 页面载入前
    /// </summary>
    public void Page_PreInit()
    {
        if (Session["myTheme"] != null)//判断会话中主题是否为空
        {
            this.Theme = Session["myTheme"].ToString();//设置页面主题
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
